<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>数据字典列表</title>
<link href="${ctx }/css/style.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/css/ajax_tip.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/js/layui/css/layui.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/js/layer/skin/layer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/js/jquery/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="${ctx}/js/layer/layer.js"></script>
<script type="text/javascript" src="${ctx }/js/layui/layui.js"></script>
<script type="text/javascript" src="${ctx}/js/common.js"></script>

</head>
<body>
<div class="listNavTitle">
    <p>
        <label>系统管理 ></label>
        <label>数据字典管理</label>
    </p>
</div>
<div class="rightinfo">
    <div class="formtitle">
        <span>数据字典列表</span>
        <div class="listBtnDiv">
            <@shiro.hasPermission name="sysman:systemDic_man:add">
                <button id="add" class="layui-btn layui-btn-normal" title="button">新增字典</button>
            </@shiro.hasPermission>
        </div>
    </div>
  <form id="searchForm">
	  <ul class="search_forminfo">
          <li>
              <label>字典类型</label>
              <select name="dicTypeId">
                  <option value="">请选择</option>
              <#list systemDicTypeList as systemDicType>
                  <option value="${systemDicType.id}">${systemDicType.name}</option>
              </#list>
              </select>
          </li>
	    <!-- 查询条件 -->
          <li>
              <label>名称</label>
              <input name="name" type="text" class="search_dfinput" />
          </li>
          <li>
              <label>值</label>
              <input name="dicValue" type="text" class="search_dfinput" />
          </li>
	    <li style="">
	      <label>&nbsp;</label>
            <button class="layui-btn layui-btn-normal" type="button" onclick="baseSearchQueryLayer('1','20')">查询</button>
	    </li>
	  </ul>
  </form>
  <div id="pageList">
  	
  </div>
</div>
</body>
</html>
<script type="text/javascript" src="${ctx }/js/layui/layui.js"></script>
<script type="text/javascript">
$(document).ready(function(){

	initUrl('${ctx}/sysman/systemDic/systemDicAjaxList.do','${ctx}/sysman/systemDic/toSystemDicAdd.do','${ctx}/sysman/systemDic/toChangeView.do','${ctx}/sysman/systemDic/delSystemDic.do');

    baseSearchQueryLayer(1,20);

	$("#add").click(function(){
        toBaseAdd(false,933,530,true);
	});

});

</script>